package com.enjoyor.soa.traffic.api.dto.gps;

import com.enjoyor.soa.traffic.api.dto.gps.NotifyTypeEnum;
import com.enjoyor.soa.traffic.api.dto.gps.PositionDto;


import java.io.Serializable;
import java.util.Date;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * 通知信息：设备上线，下线，报警
 */
@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
public class NotifyDto implements Serializable  {
	private static final long serialVersionUID = 1L;

	private String locid;		//定位标识
	private String devtype;		//设备类型
	private NotifyTypeEnum type;//通知类型
	private Date notifyTime;	//通知时间
	private PositionDto pos;	//设备位置
	private Date startTime;		//持续性通知开始时间：如 越界报警开始时间
	private Date endTime;		//持续性通知结束时间：如 越界报警结束时间
	private String remark;		//其他：：如 越界报警围栏ID
	
	public String getLocid() {
		return locid;
	}
	public void setLocid(String locid) {
		this.locid = locid;
	}
	public String getDevtype() {
		return devtype;
	}
	public void setDevtype(String devtype) {
		this.devtype = devtype;
	}
	public NotifyTypeEnum getType() {
		return type;
	}
	public void setType(NotifyTypeEnum type) {
		this.type = type;
	}
	public Date getNotifyTime() {
		return notifyTime;
	}
	public void setNotifyTime(Date notifyTime) {
		this.notifyTime = notifyTime;
	}
	public PositionDto getPos() {
		return pos;
	}
	public void setPos(PositionDto pos) {
		this.pos = pos;
	}
	public Date getStartTime() {
		return startTime;
	}
	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}
	public Date getEndTime() {
		return endTime;
	}
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
}
